package tsing.javase.designpattern.stratege;

/**
 * @Date 28/7/2023 下午2:19
 */
public class TrainStrategy implements  Strategy {


    @Override
    public void travel() {
        System.out.println("坐火车出行");
    }

}
